package com.bwie.mapper;

import com.bwie.common.domain.Menu;
import com.bwie.common.domain.User;
import com.bwie.common.domaintoo.Type;
import com.bwie.common.domaintoo.request.CouponAdd;
import com.bwie.common.domaintoo.request.CouponRequest;
import com.bwie.common.domaintoo.response.CouponResponse;
import com.bwie.common.result.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: MenuMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/9/27 19:42
 */
@Mapper
public interface CouponMapper {
    List<CouponResponse> list(CouponRequest couponRequest);

    void couponAdd(CouponAdd couponAdd);

    List<Type> typeList(@Param("id") String id);

    //添加周六日的优惠卷
    void timeList(List<User> userList);
}
